package com.xxlie.auth.security.auth.ajax;

public enum RoleTypeEnum {
    OTHER("other", "前端用户"),
    GENERAL("general", "普通用户"),
    ASSIGNMENT("assignment", "管理员");

    private String code;
    private String desc;

    RoleTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode(){
        return code;
    }

    public void setCode(String code){
        this.code = code;
    }

    public String getDesc(){
        return desc;
    }

    public void setDesc(String desc){
        this.desc = desc;
    }
}
